In this paper we report our analysis of the period-luminosity-shape of light curve (P-L-S) relation. The data we used came from LMC and SMC Cepheid light curves produced by OGLE-II microlensing survey. We used Principal Components Analysis of covariance matrix of the sets for Cepheids in LMC and SMC separately. Our calibrating set was bounded to long period classical Cepheids pulsating in fundamental mode. The results are used to derive a method for estimation of distances from light curve shape.